
<!DOCTYPE HTML>
<html lang="en" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>3.3 命令函数 · 命令进阶</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.2">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../scoreboard/scoreboard.html" />
    
    
    <link rel="prev" href="cb.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    引言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../concepts/concepts.html">
            
                <a href="../concepts/concepts.html">
            
                    
                    1 基础概念
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../concepts/space.html">
            
                <a href="../concepts/space.html">
            
                    
                    1.1 坐标、朝向、区块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../concepts/time.html">
            
                <a href="../concepts/time.html">
            
                    
                    1.2 时间、顺序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../concepts/execution.html">
            
                <a href="../concepts/execution.html">
            
                    
                    1.3 命令执行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../concepts/selector/selector.html">
            
                <a href="../concepts/selector/selector.html">
            
                    
                    1.4 目标选择器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../concepts/stats.html">
            
                <a href="../concepts/stats.html">
            
                    
                    1.5 命令执行统计
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../common-format/common-format.html">
            
                <a href="../common-format/common-format.html">
            
                    
                    2 常用命令格式
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../common-format/json/json.html">
            
                <a href="../common-format/json/json.html">
            
                    
                    2.1 JSON文本
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="../common-format/json/type.html">
            
                <a href="../common-format/json/type.html">
            
                    
                    2.1.1 JSON文本类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.2" data-path="../common-format/json/formatting.html">
            
                <a href="../common-format/json/formatting.html">
            
                    
                    2.1.2 JSON样式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.3" data-path="../common-format/json/event.html">
            
                <a href="../common-format/json/event.html">
            
                    
                    2.1.3 JSON事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.4" data-path="../common-format/json/array.html">
            
                <a href="../common-format/json/array.html">
            
                    
                    2.1.4 JSON分项
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.5" data-path="../common-format/json/sign-book.html">
            
                <a href="../common-format/json/sign-book.html">
            
                    
                    2.1.5 告示牌及成书
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.6" data-path="../common-format/json/other.html">
            
                <a href="../common-format/json/other.html">
            
                    
                    2.1.6 杂项
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.7" data-path="../common-format/json/keys.html">
            
                <a href="../common-format/json/keys.html">
            
                    
                    2.1.A 附录: keybind列表
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../common-format/nbt/nbt.html">
            
                <a href="../common-format/nbt/nbt.html">
            
                    
                    2.2 NBT及结构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.2.1" data-path="../common-format/nbt/simple.html">
            
                <a href="../common-format/nbt/simple.html">
            
                    
                    2.2.1 基本类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.2" data-path="../common-format/nbt/example.html">
            
                <a href="../common-format/nbt/example.html">
            
                    
                    2.2.2 NBT实战
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="command.html">
            
                <a href="command.html">
            
                    
                    3 如何执行命令
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="chat.html">
            
                <a href="chat.html">
            
                    
                    3.1 聊天栏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="cb.html">
            
                <a href="cb.html">
            
                    
                    3.2 命令方块简介
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.3" data-path="function.html">
            
                <a href="function.html">
            
                    
                    3.3 命令函数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../scoreboard/scoreboard.html">
            
                <a href="../scoreboard/scoreboard.html">
            
                    
                    4 记分板
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../scoreboard/objective.html">
            
                <a href="../scoreboard/objective.html">
            
                    
                    4.1 记分板变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../scoreboard/team.html">
            
                <a href="../scoreboard/team.html">
            
                    
                    4.2 记分板队伍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../scoreboard/tag.html">
            
                <a href="../scoreboard/tag.html">
            
                    
                    4.3 记分板标签
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../scoreboard/command.html">
            
                <a href="../scoreboard/command.html">
            
                    
                    4.4 记分板命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../scoreboard/example.html">
            
                <a href="../scoreboard/example.html">
            
                    
                    4.5 记分板实战
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.5.1" data-path="../scoreboard/examples/example1.html">
            
                <a href="../scoreboard/examples/example1.html">
            
                    
                    4.5.1 循环电路|记分板的基础操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.2" data-path="../scoreboard/examples/example2.html">
            
                <a href="../scoreboard/examples/example2.html">
            
                    
                    4.5.2 自定义命令|stats与记分板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.3" data-path="../scoreboard/examples/example3.html">
            
                <a href="../scoreboard/examples/example3.html">
            
                    
                    4.5.3 击杀率|operation与准则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.4" data-path="../scoreboard/examples/example4.html">
            
                <a href="../scoreboard/examples/example4.html">
            
                    
                    4.5.4 漂亮的排名|显示与队伍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.5" data-path="../scoreboard/examples/example5.html">
            
                <a href="../scoreboard/examples/example5.html">
            
                    
                    4.5.5 简单登入系统|function与综合运用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../logic/logic.html">
            
                <a href="../logic/logic.html">
            
                    
                    5 基础逻辑
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../logic/enum.html">
            
                <a href="../logic/enum.html">
            
                    
                    5.1 穷举
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../logic/score.html">
            
                <a href="../logic/score.html">
            
                    
                    5.2 分数处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../logic/bool.html">
            
                <a href="../logic/bool.html">
            
                    
                    5.3 布尔逻辑
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../logic/loop.html">
            
                <a href="../logic/loop.html">
            
                    
                    5.4 循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../logic/event.html">
            
                <a href="../logic/event.html">
            
                    
                    5.5 事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../logic/marker.html">
            
                <a href="../logic/marker.html">
            
                    
                    5.6 实体Marker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../logic/execute.html">
            
                <a href="../logic/execute.html">
            
                    
                     5.7 execute进阶
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../practise/practise.html">
            
                <a href="../practise/practise.html">
            
                    
                    6 实战
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../practise/objects.html">
            
                <a href="../practise/objects.html">
            
                    
                    6.1 游戏内物件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../practise/test-debug.html">
            
                <a href="../practise/test-debug.html">
            
                    
                    6.2 命令系统测试及调试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../practise/examples/examples.html">
            
                <a href="../practise/examples/examples.html">
            
                    
                    6.3 更多命令系统例子
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.3.1" data-path="../practise/examples/furnace.html">
            
                <a href="../practise/examples/furnace.html">
            
                    
                    6.3.1 熔炉过热系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.2" data-path="../practise/examples/badapple.html">
            
                <a href="../practise/examples/badapple.html">
            
                    
                    6.3.2 毒苹果
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.3" data-path="../practise/examples/rain.html">
            
                <a href="../practise/examples/rain.html">
            
                    
                    6.3.3 下雨检测
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.4" data-path="../practise/examples/chest_replace.html">
            
                <a href="../practise/examples/chest_replace.html">
            
                    
                    6.3.4 替换方块实体
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.5" data-path="../practise/examples/skill.html">
            
                <a href="../practise/examples/skill.html">
            
                    
                    6.3.5 技能系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.6" data-path="../practise/examples/crown.html">
            
                <a href="../practise/examples/crown.html">
            
                    
                    6.3.6 皇冠系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.7" data-path="../practise/examples/blackhole.html">
            
                <a href="../practise/examples/blackhole.html">
            
                    
                    6.3.7 黑洞
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3.8" data-path="../practise/examples/login.html">
            
                <a href="../practise/examples/login.html">
            
                    
                    6.3.8 登录系统
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../data-files/data-files.html">
            
                <a href="../data-files/data-files.html">
            
                    
                    7 游戏文件的使用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../data-files/resourcepack/resourcepack.html">
            
                <a href="../data-files/resourcepack/resourcepack.html">
            
                    
                    7.1 资源包
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1.1" data-path="../data-files/resourcepack/textures.html">
            
                <a href="../data-files/resourcepack/textures.html">
            
                    
                    7.1.1 材质
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.1.2" data-path="../data-files/resourcepack/models.html">
            
                <a href="../data-files/resourcepack/models.html">
            
                    
                    7.1.2 模型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.1.3" data-path="../data-files/resourcepack/sound.html">
            
                <a href="../data-files/resourcepack/sound.html">
            
                    
                    7.1.3 声音
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../data-files/loot-table.html">
            
                <a href="../data-files/loot-table.html">
            
                    
                    7.2 Loot table
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../data-files/advancements/advancements.html">
            
                <a href="../data-files/advancements/advancements.html">
            
                    
                    7.3 Advancement
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.3.1" data-path="../data-files/advancements/examples.html">
            
                <a href="../data-files/advancements/examples.html">
            
                    
                    Advancement例子
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" >
            
                <span>
            
                    
                    8 杂项
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" >
            
                <a target="_blank" href="https://commandtutorials.neocities.org/">
            
                    
                    8.1 其他资源
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../misc/success.html">
            
                <a href="../misc/success.html">
            
                    
                    8.2 如何成为一个成功的CBer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="../misc/question.html">
            
                <a href="../misc/question.html">
            
                    
                    8.3 问问题的技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" data-path="../misc/quotes.html">
            
                <a href="../misc/quotes.html">
            
                    
                    8.4 其他CBer的建言
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >3.3 命令函数</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x547D;&#x4EE4;&#x51FD;&#x6570;">&#x547D;&#x4EE4;&#x51FD;&#x6570;</h1>
<p>&#x547D;&#x4EE4;&#x51FD;&#x6570;&#xFF08;Function&#xFF0C;Wiki&#x8BD1;&#x540D;&#x4E3A;&#x51FD;&#x6570;&#xFF09;&#xFF0C;&#x662F;1.12&#x65B0;&#x52A0;&#x5165;&#x7684;&#x529F;&#x80FD;&#x3002;&#x7528;&#x9014;&#x4E3A;&#x5728;&#x88AB;&#x8C03;&#x7528;&#x7684;gt&#x6267;&#x884C;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x6587;&#x4EF6;&#x5185;&#x7684;&#x5168;&#x90E8;&#x547D;&#x4EE4;&#xFF0C;&#x4E14;&#x652F;&#x6301;&#x65E0;&#x5EF6;&#x8FDF;&#x8C03;&#x7528;&#x522B;&#x7684;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x3002;</p>
<p>&#x672C;&#x7AE0;&#x8282;&#x5C06;&#x4F1A;&#x5206;&#x4E3A;&#x4E09;&#x90E8;&#x5206;&#xFF1A;</p>
<ul>
<li>&#x547D;&#x4EE4;&#x51FD;&#x6570;<strong>&#x6587;&#x4EF6;</strong></li>
<li>&#x547D;&#x4EE4;&#x51FD;&#x6570;<strong>&#x547D;&#x4EE4;</strong></li>
<li>&#x547D;&#x4EE4;&#x51FD;&#x6570;<strong>&#x5E38;&#x7528;&#x903B;&#x8F91;</strong></li>
</ul>
<h2 id="&#x6587;&#x4EF6;">&#x6587;&#x4EF6;</h2>
<p>&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x662F;&#x4E00;&#x4E2A;&#x6587;&#x672C;&#x6587;&#x4EF6;&#xFF0C;&#x7F16;&#x7801;&#x4E3A;UTF-8<strong>&#x65E0;BOM</strong>&#xFF0C;&#x540E;&#x7F00;&#x4E3A;<code>.mcfunction</code>&#x3002;<br>&#x653E;&#x5728;<code>/.minecraft/(&#x5B58;&#x6863;)/data/functions/(&#x547D;&#x540D;&#x7A7A;&#x95F4;)/(&#x4EFB;&#x610F;&#x8DEF;&#x5F84;)/(&#x540D;&#x79F0;).mcfunction</code>&#xFF08;&#x4EFB;&#x610F;&#x8DEF;&#x5F84;&#x53EF;&#x4EE5;&#x4E3A;&#x7A7A;&#xFF09;&#x3002;<br>&#x547D;&#x540D;&#x7A7A;&#x95F4;&#x3001;&#x6587;&#x4EF6;&#x5939;&#x540D;&#x79F0;&#x3001;&#x6587;&#x4EF6;&#x540D;&#x79F0;&#x5EFA;&#x8BAE;&#x4E3A;&#x5C0F;&#x5199;&#x82F1;&#x6587;&#x5B57;&#x7B26;&#xFF08;&#x6E38;&#x620F;&#x65E0;&#x8BBA;&#x5927;&#x5C0F;&#x5199;&#x4E5F;&#x4E00;&#x5F8B;&#x4F1A;&#x5F53;&#x4F5C;&#x5C0F;&#x5199;&#xFF09;&#xFF0C;&#x5B57;&#x8BCD;&#x4E4B;&#x95F4;&#x4EE5;<code>_</code>&#x5206;&#x9694;&#x3002;</p>
<p>&#x4F8B;&#x5B50;&#xFF08;&#x4ECE;<code>functions</code>&#x6587;&#x4EF6;&#x5939;&#x5F00;&#x59CB;&#xFF09;:</p>
<ul>
<li><code>/test/a/b/c.mcfunction</code>&#x3002;&#x5373;&#x547D;&#x540D;&#x7A7A;&#x95F4;&#x4E3A;<code>test</code>&#xFF0C;&#x8DEF;&#x5F84;&#x4E3A;<code>a/b/c.mcfunction</code>&#x3002;</li>
<li><code>/test2/a.mcfunction</code>&#x3002;&#x5373;&#x547D;&#x540D;&#x7A7A;&#x95F4;&#x4E3A;<code>test2</code>&#xFF0C;&#x8DEF;&#x5F84;&#x4E3A;<code>a.mcfunction</code>&#x3002;</li>
<li><code>/a.mcfunction</code>&#x3002;<strong>&#x9519;&#x8BEF;</strong>&#xFF0C;&#x5FC5;&#x987B;&#x653E;&#x5728;&#x67D0;&#x4E2A;&#x547D;&#x540D;&#x7A7A;&#x95F4;&#x4E4B;&#x5185;&#x3002;</li>
</ul>
<blockquote>
<p>&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x5728;cmd&#x91CC;&#x8F93;&#x5165;<code>type &#x6587;&#x4EF6;&#x540D;&#x79F0;</code>&#xFF0C;&#x67E5;&#x770B;&#x8F93;&#x51FA;&#xFF0C;&#x6765;&#x5206;&#x8FA8;&#x6587;&#x4EF6;&#x662F;&#x5426;&#x65E0;BOM<br>&#x5982;&#x679C;&#x6709;BOM&#xFF0C;&#x7B2C;&#x4E00;&#x4E2A;&#x5B57;&#x7B26;&#x4F1A;&#x4E3A;<code>?</code>&#x6216;&#x8005;&#x662F;&#x4E71;&#x7801;&#xFF0C;&#x65E0;Bom&#x5219;&#x4E3A;&#x6B63;&#x5E38;&#x7684;&#x5B57;&#x7B26;&#x3002;</p>
</blockquote>
<h3 id="&#x51FD;&#x6570;&#x540D;&#x79F0;">&#x51FD;&#x6570;&#x540D;&#x79F0;</h3>
<p>&#x547D;&#x4EE4;&#x91CC;&#x7ECF;&#x5E38;&#x9700;&#x8981;&#x4F7F;&#x7528;&#x51FD;&#x6570;&#x540D;&#x79F0;&#xFF0C;&#x7531;&#x547D;&#x540D;&#x7A7A;&#x95F4;&#x53CA;&#x8DEF;&#x5F84;&#x7EC4;&#x6210;&#x3002;&#x683C;&#x5F0F;&#x4E3A;:</p>
<pre><code>(&#x547D;&#x540D;&#x7A7A;&#x95F4;):(&#x8DEF;&#x5F84;&#xFF0C;&#x5220;&#x53BB;&#x540E;&#x7F00;&#x540D;)
</code></pre><p>&#x5728;&#x4E0A;&#x65B9;&#x7684;&#x4F8B;&#x5B50;&#x4E2D;&#xFF0C;&#x524D;&#x4E24;&#x4E2A;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x7684;&#x51FD;&#x6570;&#x540D;&#x79F0;&#x5206;&#x522B;&#x4E3A;&#xFF1A;</p>
<ul>
<li><code>test:a/b/c</code></li>
<li><code>test2:a</code></li>
</ul>
<p>&#x5728;&#x547D;&#x4EE4;&#x4E2D;&#x4F7F;&#x7528;&#x65F6;&#xFF0C;&#x51FD;&#x6570;&#x540D;&#x79F0;&#x65E0;&#x89C6;&#x547D;&#x540D;&#x7A7A;&#x95F4;&#x548C;&#x51FD;&#x6570;&#x540D;&#x7684;&#x5927;&#x5C0F;&#x5199;&#x3002;</p>
<blockquote>
<p>&#x6218;&#x5229;&#x54C1;&#x8868;(Loot table)&#x4EE5;&#x53CA;&#x8FDB;&#x5EA6;(Advancement)&#x4E5F;&#x662F;&#x4F7F;&#x7528;&#x8FD9;&#x4E2A;&#x683C;&#x5F0F;&#x3002;</p>
</blockquote>
<h3 id="&#x6587;&#x4EF6;&#x5185;&#x5BB9;">&#x6587;&#x4EF6;&#x5185;&#x5BB9;</h3>
<p>&#x6587;&#x4EF6;&#x5185;&#x5BB9;&#x4E3A;&#x591A;&#x6761;&#x547D;&#x4EE4;&#xFF0C;&#x6BCF;&#x6761;&#x547D;&#x4EE4;&#x5360;&#x636E;&#x4E00;&#x884C;&#xFF08;<strong>&#x4E0D;&#x80FD;</strong> &#x4EE5;<code>/</code>&#x7B26;&#x53F7;&#x4F5C;&#x5F00;&#x59CB;&#xFF09;&#xFF0C;&#x7A7A;&#x884C;&#x53CA;&#x6CE8;&#x91CA;&#x4F1A;&#x88AB;&#x5FFD;&#x7565;&#x3002;</p>
<p>&#x6CE8;&#x91CA;:&#x4EE5;<code>#</code>&#x4F5C;&#x5F00;&#x59CB;&#x7684;&#x884C;&#xFF0C;&#x5982;<code>#&#x8FD9;&#x662F;&#x4E00;&#x6761;&#x6CE8;&#x91CA;</code><br>&#x7A7A;&#x884C;&#x4F1A;&#x88AB;&#x5FFD;&#x7565;</p>
<p>&#x4F8B;&#x5B50;&#xFF1A;</p>
<pre><code># test:1
say test
say 1

setblock ~ ~-1 ~ stone
</code></pre><h2 id="&#x547D;&#x4EE4;">&#x547D;&#x4EE4;</h2>
<blockquote>
<p>&#x5173;&#x4E8E;&#x6267;&#x884C;&#x70B9;&#xFF0C;&#x8BF7;&#x53C2;&#x89C1; <a href="../concepts/execution.html">&#x547D;&#x4EE4;&#x6267;&#x884C;</a></p>
</blockquote>
<h3 id="&#x9AD8;&#x9891;&#x6267;&#x884C;&#x51FD;&#x6570;">&#x9AD8;&#x9891;&#x6267;&#x884C;&#x51FD;&#x6570;</h3>
<pre><code>gamerule gameLoopFunction &lt;&#x51FD;&#x6570;&#x540D;&#x79F0;&gt;
</code></pre><p>&#x6BCF;gt&#x6267;&#x884C;&#x4E00;&#x6B21;&#x6307;&#x5B9A;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#xFF08;&#x4E8E;gt&#x5B8C;&#x7ED3;&#x65F6;&#x6267;&#x884C;&#xFF0C;&#x6545;&#x4E00;&#x4E9B;&#x6570;&#x503C;&#x5982;<code>HurtTime</code>&#x53EA;&#x80FD;&#x68C0;&#x6D4B;&#x5230;9&#xFF09;&#x3002;</p>
<blockquote>
<p>&#x6CE8;&#x610F;&#xFF0C;&#x6267;&#x884C;&#x5750;&#x6807;&#x4E3A;(0, 0, 0)&#xFF0C;&#x6743;&#x9650;&#x7B49;&#x7EA7;&#x4E3A;2&#xFF0C;&#x5373;&#x65E0;&#x6CD5;&#x6267;&#x884C;<code>op</code>&#x8FD9;&#x7C7B;&#x547D;&#x4EE4;&#x3002;</p>
</blockquote>
<h3 id="&#x6267;&#x884C;&#x5355;&#x4E00;&#x51FD;&#x6570;&#x4E00;&#x6B21;">&#x6267;&#x884C;&#x5355;&#x4E00;&#x51FD;&#x6570;&#x4E00;&#x6B21;</h3>
<pre><code>function &lt;&#x51FD;&#x6570;&#x540D;&#x79F0;&gt; [&lt;if|unless&gt; &lt;&#x9009;&#x62E9;&#x5668;&gt;]
</code></pre><ul>
<li>&#x51FD;&#x6570;&#x540D;&#x79F0;: &#x9700;&#x8981;&#x6267;&#x884C;&#x7684;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x7684;&#x51FD;&#x6570;&#x540D;&#x79F0;&#xFF08;&#x89C1;&#x4E0A;&#x65B9;&#xFF09;&#x3002;</li>
<li>if: &#x5982;&#x679C;&#x540E;&#x65B9;&#x9009;&#x62E9;&#x5668;&#x9009;&#x62E9;&#x5230;<strong>&#x4EFB;&#x4F55;</strong>&#x76EE;&#x6807;&#x5C31;&#x6267;&#x884C;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x3002;</li>
<li>unless: &#x5982;&#x679C;&#x540E;&#x65B9;&#x9009;&#x62E9;&#x5668;<strong>&#x9009;&#x62E9;&#x4E0D;&#x5230;</strong>&#x76EE;&#x6807;&#x5C31;&#x6267;&#x884C;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x3002;</li>
<li>&#x6CA1;&#x6709;if/unless: &#x6267;&#x884C;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x3002;</li>
</ul>
<p>&#x53EF;&#x4EE5;&#x5728;&#x4E00;&#x4E2A;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x4E2D;&#x65E0;&#x5EF6;&#x8FDF;&#x8C03;&#x7528;&#x522B;&#x7684;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#xFF0C;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x91CC;&#x7684;&#x547D;&#x4EE4;&#x7684;&#x6267;&#x884C;&#x5750;&#x6807;&#x4E3A;&#x5F53;&#x524D;&#x8FD9;&#x6761;<code>function</code>&#x547D;&#x4EE4;&#x7684;&#x6267;&#x884C;&#x5750;&#x6807;&#x3002;</p>
<blockquote>
<p>&#x5373;&#x4F7F;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x91CC;&#x66FE;&#x7ECF;&#x5229;&#x7528;&#x5982;<code>tp</code>&#x547D;&#x4EE4;&#x4FEE;&#x6539;&#x6267;&#x884C;&#x8005;&#x5750;&#x6807;&#xFF0C;&#x5176;&#x4ED6;&#x547D;&#x4EE4;&#x7684;&#x6267;&#x884C;&#x5750;&#x6807;&#x4E5F;&#x4E0D;&#x4F1A;&#x6539;&#x53D8;&#x3002;&#x8981;&#x786E;&#x4FDD;&#x80FD;&#x83B7;&#x5F97;&#x6267;&#x884C;&#x8005;&#x6700;&#x65B0;&#x5750;&#x6807;&#x7684;&#x8BDD;&#x8BF7;&#x4F7F;&#x7528;<code>execute</code>&#x547D;&#x4EE4;&#x3002;</p>
</blockquote>
<p>&#x4E5F;&#x80FD;&#x591F;&#x8C03;&#x7528;&#x81EA;&#x5DF1;&#xFF08;&#x9012;&#x5F52;&#xFF0C;recursion&#xFF09;&#xFF0C;&#x7136;&#x800C;&#x5207;&#x8BB0;&#x6DFB;&#x52A0;&#x8DF3;&#x51FA;&#x6761;&#x4EF6;&#xFF0C;&#x5426;&#x5219;&#x4FBF;&#x4F1A;&#x51FA;&#x73B0;&#x65E0;&#x9650;&#x5FAA;&#x73AF;&#xFF08;&#x4ECD;&#x53D7;<code>gamerule maxCommandChainLength</code>&#x6267;&#x884C;&#x547D;&#x4EE4;&#x6570;&#x9650;&#x5236;&#xFF0C;&#x7136;&#x800C;&#x7EC8;&#x7A76;&#x662F;&#x4E0D;&#x597D;&#x7684;&#xFF09;&#x3002;<br>&#x5F53;&#x76EE;&#x6807;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x6267;&#x884C;&#x5B8C;&#x6BD5;&#x540E;&#x4F1A;&#x56DE;&#x5F52;&#x5230;&#x672C;&#x547D;&#x4EE4;&#x8C03;&#x7528;&#x540E;&#x7684;&#x4F4D;&#x7F6E;&#x7136;&#x540E;&#x7EE7;&#x7EED;&#x6267;&#x884C;&#x3002;&#x6267;&#x884C;&#x987A;&#x5E8F;&#x5982;&#x4E0B;&#x56FE;&#x6240;&#x793A;&#xFF08;&#x4ECE;&#x5DE6;&#x4E0A;&#x65B9;&#x5F00;&#x59CB;&#xFF09;&#xFF1A;</p>
<p><img src="images/func.png" alt=""><br>&#x6240;&#x4EE5;&#x8F93;&#x51FA;&#x4E3A;</p>
<pre><code>start a
start b
start b (&#x8FD9;&#x662F;recursion&#x7684;&#x90E8;&#x5206;)
end b (&#x8FD9;&#x662F;recursion&#x7684;&#x90E8;&#x5206;)
end b
end a
</code></pre><h3 id="&#x8FDB;&#x5EA6;reward">&#x8FDB;&#x5EA6;Reward</h3>
<p>&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x8FDB;&#x5EA6;(Advancement)&#x7684;reward&#x5BF9;&#x76EE;&#x6807;&#x73A9;&#x5BB6;&#x6267;&#x884C;&#x4E00;&#x6B21;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x3002;&#x8FD9;&#x4F1A;&#x5728;&#x8FDB;&#x5EA6;&#x7AE0;&#x8282;&#x8BF4;&#x660E;&#x3002;</p>
<h3 id="&#x9650;&#x5236;&#x547D;&#x4EE4;&#x6267;&#x884C;&#x6570;&#x91CF;">&#x9650;&#x5236;&#x547D;&#x4EE4;&#x6267;&#x884C;&#x6570;&#x91CF;</h3>
<p>&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x547D;&#x4EE4;&#x9650;&#x5236;1&#x6B21;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x6267;&#x884C;&#x7684;&#x603B;&#x547D;&#x4EE4;&#x6570;&#x91CF;&#x3002;</p>
<pre><code>gamerule maxCommandChainLength &lt;&#x6570;&#x91CF;&gt;
</code></pre><blockquote>
<p><del>&#x6216;&#x8BB8;&#x4F60;&#x4EEC;&#x80FD;&#x591F;&#x7528;&#x8FD9;&#x4E2A;&#x6765;&#x5E72;&#x6389;&#x522B;&#x4EBA;&#x7684;&#x53CD;&#x4F5C;&#x5F0A;&#x5427;...</del> &#x4F60;&#x4EEC;&#x80FD;&#x591F;&#x7528;&#x8FD9;&#x4E2A;&#x6765;&#x5173;&#x6389;&#x5931;&#x63A7;&#x4E86;&#x7684;&#x7CFB;&#x7EDF;&#x3002;<br>&#x9664;&#x4E86;&#x8FD9;&#x4E2A;&#x4EE5;&#x5916;&#x6211;&#x4E5F;&#x6CA1;&#x60F3;&#x5230;&#x5565;&#x7528;&#x9014;&#x4E86;&#x3002;</p>
</blockquote>
<h2 id="&#x903B;&#x8F91;">&#x903B;&#x8F91;</h2>
<p>&#x5176;&#x5B9E;&#x4E5F;&#x6CA1;&#x5565;&#x903B;&#x8F91;&#x53EF;&#x8A00;...&#x5C31;&#x6A21;&#x5757;&#x5316;&#x800C;&#x5DF2;&#xFF0C;&#x73A9;&#x591A;&#x4E86;&#x5C31;&#x719F;&#x4E86;&#x3002;</p>
<p>&#x90E8;&#x5206;&#x4EBA;&#x751F;&#x7ECF;&#x9A8C;:</p>
<ul>
<li>&#x7C7B;&#x4F3C;&#x529F;&#x80FD;&#x7684;&#x5F04;&#x6210;&#x4E00;&#x4E2A;&#x547D;&#x540D;&#x7A7A;&#x95F4;</li>
<li>&#x4E00;&#x7EC4;&#x8FBE;&#x6210;&#x4E00;&#x4E2A;&#x529F;&#x80FD;&#x7684;&#x547D;&#x4EE4;&#x5C31;&#x653E;&#x5728;&#x4E00;&#x4E2A;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x91CC;&#x3002;&#x7ECF;&#x5E38;&#x9700;&#x8981;&#x8C03;&#x7528;&#x7684;&#x4E5F;&#x53EF;&#x4EE5;&#x653E;&#x5728;&#x4E00;&#x4E2A;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x91CC;&#x3002;</li>
<li>&#x5C3D;&#x91CF;&#x4E0D;&#x8981;&#x5728;&#x4E3B;&#x8981;&#x9AD8;&#x9891;&#x7684;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x91CC;&#x5199;&#x592A;&#x591A;&#x547D;&#x4EE4;&#xFF0C;&#x6700;&#x597D;&#x662F;&#x8C03;&#x7528;&#x522B;&#x7684;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#xFF0C;&#x8FD9;&#x6837;&#x4F1A;&#x66F4;&#x5BB9;&#x6613;&#x7EF4;&#x62A4;&#x3002;</li>
<li>&#x90E8;&#x5206;&#x9700;&#x8981;&#x7279;&#x5B9A;&#x65F6;&#x5019;&#x624D;&#x6267;&#x884C;&#x7684;&#x547D;&#x4EE4;&#x53EF;&#x4EE5;&#x628A;&#x90A3;&#x90E8;&#x5206;&#x7684;&#x547D;&#x4EE4;&#x653E;&#x5728;&#x5355;&#x4E00;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#xFF0C;&#x4F7F;&#x7528;<code>if|unless</code>&#xFF0C;&#x4EE5;&#x5B9E;&#x4F53;&#x7684;tag/&#x5206;&#x6570;&#x4F5C;&#x63A7;&#x5236;&#x3002;</li>
<li>&#x5982;&#x679C;&#x4E00;&#x4E2A;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x4F1A;&#x88AB;&#x7ECF;&#x5E38;&#x8C03;&#x7528;&#xFF0C;&#x4F46;&#x4E2D;&#x95F4;&#x67D0;&#x90E8;&#x5206;&#x547D;&#x4EE4;&#x4F1A;&#x88AB;&#x66FF;&#x6362;&#xFF1A;&#x628A;&#x524D;&#x540E;&#x7684;&#x547D;&#x4EE4;&#x653E;&#x8FDB;&#x65B0;&#x7684;&#x51FD;&#x6570;&#x3002;</li>
<li>&#x9012;&#x5F52;&#xFF08;&#x8C03;&#x7528;&#x81EA;&#x5DF1;&#xFF09;&#x5207;&#x8BB0;&#x8981;&#x4EE5;<code>if|unless</code>&#x8FDB;&#x884C;&#x8C03;&#x7528;&#x3002;</li>
<li>&#x90E8;&#x5206;&#x4E8B;&#x4EF6;&#x53EF;&#x4EE5;&#x8003;&#x8651;&#x4F7F;&#x7528;&#x8FDB;&#x5EA6;(Advancement)&#xFF0C;&#x8BE6;&#x60C5;&#x89C1;&#x4E4B;&#x540E;&#x7684;<strong>&#x4E8B;&#x4EF6;</strong>&#x7AE0;&#x8282;&#x3002;</li>
</ul>
<hr>
<blockquote>
<p>&#x8FD9;&#x90E8;&#x5206;&#x662F;&#x7ED9;&#x4F1A;&#x7F16;&#x7A0B;&#x7684;&#x73A9;&#x5BB6;&#x770B;&#x7684;&#x3002;</p>
</blockquote>
<p>&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x662F;&#x6CA1;&#x6709;&#x56DE;&#x4F20;(Return)&#x7684;&#xFF0C;&#x6240;&#x4EE5;&#x4F60;&#x4E0D;&#x80FD;&#x63D0;&#x65E9;&#x5B8C;&#x7ED3;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x3002;&#x4F60;&#x53EA;&#x80FD;&#x628A;&#x540E;&#x9762;&#x7684;&#x653E;&#x8FDB;&#x522B;&#x7684;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x653E;&#x8FDB;&#x522B;&#x7684;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x91CC;&#xFF0C;&#x770B;&#x60C5;&#x51B5;&#x8FDB;&#x884C;&#x8C03;&#x7528;&#x3002;</p>
<hr>
<h2 id="&#x4F8B;&#x5B50;">&#x4F8B;&#x5B50;</h2>
<p>&#x672C;&#x6559;&#x7A0B;&#x91CC;&#x9700;&#x8981;&#x4F7F;&#x7528;&#x547D;&#x4EE4;&#x51FD;&#x6570;&#x7684;&#x90E8;&#x5206;&#x4F1A;&#x5728;&#x547D;&#x4EE4;&#x5F00;&#x59CB;&#x6807;&#x8BC6;&#x8FD9;&#x662F;&#x4E00;&#x4E2A;&#x51FD;&#x6570;&#x6587;&#x4EF6;&#xFF0C;&#x6BD4;&#x5982;&#xFF1A;</p>
<pre><code># test:test1

say &#x8FD9;&#x662F;&#x4E00;&#x6761;&#x547D;&#x4EE4;
</code></pre><p>&#x8FD9;&#x4E2A;&#x5C31;&#x662F;&#x653E;&#x5728;<code>data/functions/test/test1.mcfunction</code>&#x91CC;&#x7684;&#x51FD;&#x6570;&#x5185;&#x5BB9;&#x4E86;&#x3002;</p>
<hr>
<p>&#x8BE6;&#x7EC6;&#x4F8B;&#x5B50;&#x53EF;&#x4EE5;&#x53C2;&#x89C1; <a href="../scoreboard/examples/example5.html">&#x8BB0;&#x5206;&#x677F;&#x767B;&#x5F55;&#x7CFB;&#x7EDF;</a> &#x53CA; <a href="../practise/examples/login.html">&#x8FDB;&#x9636;&#x767B;&#x5F55;&#x7CFB;&#x7EDF;</a>&#xFF08;&#x9012;&#x5F52;&#x5730;&#x72F1;&#xFF0C;&#x4E0D;&#x5EFA;&#x8BAE;&#x65B0;&#x624B;&#x9A6C;&#x4E0A;&#x9605;&#x8BFB;&#xFF09;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="cb.html" class="navigation navigation-prev " aria-label="Previous page: 3.2 命令方块简介">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../scoreboard/scoreboard.html" class="navigation navigation-next " aria-label="Next page: 4 记分板">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"3.3 命令函数","level":"1.4.3","depth":2,"next":{"title":"4 记分板","level":"1.5","depth":1,"path":"scoreboard/scoreboard.md","ref":"scoreboard/scoreboard.md","articles":[{"title":"4.1 记分板变量","level":"1.5.1","depth":2,"path":"scoreboard/objective.md","ref":"scoreboard/objective.md","articles":[]},{"title":"4.2 记分板队伍","level":"1.5.2","depth":2,"path":"scoreboard/team.md","ref":"scoreboard/team.md","articles":[]},{"title":"4.3 记分板标签","level":"1.5.3","depth":2,"path":"scoreboard/tag.md","ref":"scoreboard/tag.md","articles":[]},{"title":"4.4 记分板命令","level":"1.5.4","depth":2,"path":"scoreboard/command.md","ref":"scoreboard/command.md","articles":[]},{"title":"4.5 记分板实战","level":"1.5.5","depth":2,"path":"scoreboard/example.md","ref":"scoreboard/example.md","articles":[{"title":"4.5.1 循环电路|记分板的基础操作","level":"1.5.5.1","depth":3,"path":"scoreboard/examples/example1.md","ref":"scoreboard/examples/example1.md","articles":[]},{"title":"4.5.2 自定义命令|stats与记分板","level":"1.5.5.2","depth":3,"path":"scoreboard/examples/example2.md","ref":"scoreboard/examples/example2.md","articles":[]},{"title":"4.5.3 击杀率|operation与准则","level":"1.5.5.3","depth":3,"path":"scoreboard/examples/example3.md","ref":"scoreboard/examples/example3.md","articles":[]},{"title":"4.5.4 漂亮的排名|显示与队伍","level":"1.5.5.4","depth":3,"path":"scoreboard/examples/example4.md","ref":"scoreboard/examples/example4.md","articles":[]},{"title":"4.5.5 简单登入系统|function与综合运用","level":"1.5.5.5","depth":3,"path":"scoreboard/examples/example5.md","ref":"scoreboard/examples/example5.md","articles":[]}]}]},"previous":{"title":"3.2 命令方块简介","level":"1.4.2","depth":2,"path":"command/cb.md","ref":"command/cb.md","articles":[]},"dir":"ltr"},"config":{"plugins":["expandable-chapters","lb2br","-sharing"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"expandable-chapters":{},"lb2br":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"命令进阶","language":"en","gitbook":"*","description":"一份Minecraft命令教程"},"file":{"path":"command/function.md","mtime":"2017-07-29T08:38:54.549Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-11-08T10:37:55.949Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

